package me.zhengjie.modules.lock.service.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("运营端门锁解绑响应结果")
@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class LockDeviceInfoUnbindDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门锁绑定ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long lockOwnerId;

    @ApiModelProperty(value = "门锁解绑结果")
    private Boolean result;

}
